<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>lodash测试</title>
    <script src="../../js/lodash.js"></script>
    <script src="../../js/jquery-3.4.1.js"></script>
</head>
<body>

</body>
<script>
    //文档地址: https://www.lodashjs.com/docs/latest
    $(() => {
        testJoin();
    });

    /**
     * 说明: 该方法js的原型上已经有了.
     */
    function testJoin() {
        let arr = [1, 2, 3];
        console.log(_.join(arr, ","));
        console.log(arr.join(","));
    }

</script>
</html>